<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	欢迎您<shiro:principal/>！ ${info} <br/>
	<shiro:hasRole name="admin">您拥有admin角色<br/></shiro:hasRole>
	<shiro:hasRole name="teacher">您拥有teacher角色<br/></shiro:hasRole>
	<shiro:hasPermission name="user:delete">您拥有user:delete权限<br/></shiro:hasPermission>
	<shiro:hasPermission name="student:delete">您拥有student:delete权限<br/></shiro:hasPermission>
</body>
</html>